package com.woniuxy.oa.entity;

public class Holiday {
	private Integer h_id;
	private Integer a_id;
	private Integer ht_id;
	private String starttime;
	private String endtime;
	private String reason;
	private Integer flag;
	private HolidayType holidayType;
	@Override
	public String toString() {
		return "Holiday [h_id=" + h_id + ", a_id=" + a_id + ", ht_id=" + ht_id + ", starttime=" + starttime
				+ ", endtime=" + endtime + ", reason=" + reason + ", flag=" + flag + ", holidayType=" + holidayType
				+ "]";
	}
	public Holiday() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Holiday(Integer h_id, Integer a_id, Integer ht_id, String starttime, String endtime, String reason,
			Integer flag, HolidayType holidayType) {
		super();
		this.h_id = h_id;
		this.a_id = a_id;
		this.ht_id = ht_id;
		this.starttime = starttime;
		this.endtime = endtime;
		this.reason = reason;
		this.flag = flag;
		this.holidayType = holidayType;
	}
	public Integer getH_id() {
		return h_id;
	}
	public void setH_id(Integer h_id) {
		this.h_id = h_id;
	}
	public Integer getA_id() {
		return a_id;
	}
	public void setA_id(Integer a_id) {
		this.a_id = a_id;
	}
	public Integer getHt_id() {
		return ht_id;
	}
	public void setHt_id(Integer ht_id) {
		this.ht_id = ht_id;
	}
	public String getStarttime() {
		return starttime;
	}
	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}
	public String getEndtime() {
		return endtime;
	}
	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	public HolidayType getHolidayType() {
		return holidayType;
	}
	public void setHolidayType(HolidayType holidayType) {
		this.holidayType = holidayType;
	}
	
}
